package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.domain.SystemDictionaryItem;
import cn.wolfcode.rbac.query.SystemDictionaryQueryObject;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);
    int insert(SystemDictionaryItem record);
    SystemDictionaryItem selectByPrimaryKey(Long id);
    List<SystemDictionaryItem> selectAll();
    int updateByPrimaryKey(SystemDictionaryItem record);
    List<SystemDictionaryItem> queryForList(SystemDictionaryQueryObject qo);
    int selectMaxSequence(Long parentId);
    List<SystemDictionaryItem> selectByParentSn(String sn);
}